home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
012
/
quickies.arc
/
REFRESH.BAT
< prev
next >
Wrap
DOS Batch File
|
1987-03-30
|
640b
|
24 lines
echo off
if "%1" == "" goto :help
Echo Place destination diskette in %1 and
pause
for %%f in (*.*) do if exist %1\%%f copy %%f %1
goto :done
:help
echo This routine will copy any files in the current drive and
echo directory which also exist in the destination drive and
echo directory, thereby placing the most current version on the
echo destination.
echo .
echo Call is: REFRESH d:\path or
echo REFRESH d:
echo .
echo Where d:\path or d: is the destination.
:done
: REFRESH d:\path or
echo REFRESH d:
echo .
echo Where d:\path or d: is the destination.
:done